home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / TCL1 / CEDITOR_ / EDITOR.C < prev    next >
C/C++ Source or Header  |  1990-06-10  |  624b  |  26 lines

  1. /******************************************************************************
  2.  Editor.c
  3.  --------
  4.  
  5.  Demonstration program for the Editor classes that implement a complete editor 
  6.  based on the TextEdit routines in the Macintosh Toolbox.
  7.  
  8.  Written by Johan A. Goossens
  9.  CompuServe: 74010,2576
  10.          
  11.  FreeWare, 1990 (See ReadMe file)
  12.  ******************************************************************************/
  13.  
  14.  
  15. #include                 "CEditorApp.h"
  16.  
  17. extern CApplication        *gApplication;
  18.  
  19. void main(void)
  20. {
  21.     gApplication = new(CEditorApp);
  22.     ((CEditorApp*)gApplication)->IEditorApp();
  23.  
  24.     gApplication->Run();
  25.     gApplication->Exit();
  26. }